package com.jyw.router.common.config;

import com.plumelog.trace.aspect.AbstractAspect;
import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.annotation.Around;
import org.aspectj.lang.annotation.Aspect;
import org.springframework.stereotype.Component;

/**
 * @author 沈峻
 * @ClassName 链路追踪切面全局打点
 * @Description TODO
 * @Date 2023/3/27 15:30
 **/
@Aspect
@Component
public class AspectConfig extends AbstractAspect {
    @Around("within(com.jyw.router.web..*))")//这边写自己的包的路径
    public Object around(JoinPoint joinPoint) throws Throwable {
        return aroundExecute(joinPoint);
    }
}
